added SSCLI 1.0
[windows-sources.git] / shared source / wpf / src / host / shimimpl / persistfile.hxx
blob4ae3ab93ff4967a5ae9bcc7e4fed4fcfc2cc316e
1 //+-----------------------------------------------------------------------
2 //
3 // Copyright (c) Microsoft Corporation. All rights reserved.
4 //
5 // Description:
6 // Defines the PersistFile class of PresentationHost
7 //
8 // History:
9 // 2002/06/12-murrayw
10 // Created
11 // 2007/09/20-[....]
12 // Ported Windows->DevDiv. See SourcesHistory.txt.
14 //------------------------------------------------------------------------
16 #pragma once
18 class CPersistFile : IPersistFile
20 private:
21 CHostShim* m_pHostShim;
23 public:
24 CPersistFile::CPersistFile(__in CHostShim* pHostShim);
25 CPersistFile::~CPersistFile();
27 STDMETHODIMP QueryInterface(REFIID, __out LPVOID*);
28 STDMETHODIMP_(ULONG)AddRef();
29 STDMETHODIMP_(ULONG)Release();
31 STDMETHODIMP GetClassID(__out LPCLSID);
32 STDMETHODIMP Save(__in_ecount(MAX_PATH+1) LPCOLESTR, BOOL);
33 STDMETHODIMP SaveCompleted(LPCOLESTR);
34 STDMETHODIMP Load(__in_ecount(MAX_PATH + 1) LPCOLESTR, DWORD);
35 STDMETHODIMP IsDirty(void);
36 STDMETHODIMP GetCurFile(__out LPOLESTR*);